package com.hmall.mapper;

import com.hmall.model.MallNavigation;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MallNavigationMapper extends MyMapper<MallNavigation> {
    Integer selectByTitle(@Param("title") String title);

    Integer checkSort(@Param("sort") Integer sort);

    List<MallNavigation> selectAllNavigation();
}